package ee.ttu.frontend.service;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import ee.ttu.model.Kasutaja;
import ee.ttu.model.Tudeng;
import ee.ttu.model.Oppejoud;

/**
 * Created by Kristina Nogteva on 25.03.2015.
 */

@Service
public interface UserService {

	public Kasutaja getUser(int usersId);

	public Tudeng getTudeng(long userId);
	public Oppejoud getOppejoud(long userId);
	public Kasutaja getUser(long userId);

	public List<Tudeng> getTudengid();
	public List<Oppejoud> getKoikoppejoud();


	/*
	public void saveNewUser(Kasutaja kasutaja, Model model);
	
	public void updateUser(Kasutaja uusKasutaja,String username,String password,Model model)throws NoPermissionException;
	
	public ArrayList<Kasutaja> getUsers(String username,String password)throws NoPermissionException;
	
	public void activateUser(String usersUsername, String username, String password, Model model) throws NoPermissionException;
	
	public void deactivateUser(String usersUsername, String username, String password, Model model) throws NoPermissionException;
*/
}
